export function COUNT_PLUS(){
    return {
        type:'plus'
    }
}
export function COUNT_MINUS(){
    return {
        type:'minus'
    }
}

export function ADD_TODO(text){
    return {
        type:"add_todo",
        text:text
    }
}
export function PENDDING_TO_FINISHED(todo){
    return {
        type:"pendding_to_finished",
        todo:todo
    }
}

export function FINISHED_TO_PENDDING(todo){
    return {
        type:"finished_to_pendding",
        todo:todo
    }
}
export function PENDDING_DELETE(todo){
    return {
        type:"pendding_delete",
        todo:todo
    }
}
export function FINISHED_DELETE(todo){
    return {
        type:"finished_delete",
        todo:todo
    }
}
